/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package com.belencarrasco.orm.dao;

import org.orm.*;
import com.belencarrasco.orm.*;

public interface PedidoDAO {
	public Pedido loadPedidoByORMID(int id_pedido) throws PersistentException;
	public Pedido getPedidoByORMID(int id_pedido) throws PersistentException;
	public Pedido loadPedidoByORMID(int id_pedido, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido getPedidoByORMID(int id_pedido, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido loadPedidoByORMID(PersistentSession session, int id_pedido) throws PersistentException;
	public Pedido getPedidoByORMID(PersistentSession session, int id_pedido) throws PersistentException;
	public Pedido loadPedidoByORMID(PersistentSession session, int id_pedido, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido getPedidoByORMID(PersistentSession session, int id_pedido, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido[] listPedidoByQuery(String condition, String orderBy) throws PersistentException;
	public Pedido[] listPedidoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido[] listPedidoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pedido[] listPedidoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido loadPedidoByQuery(String condition, String orderBy) throws PersistentException;
	public Pedido loadPedidoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido loadPedidoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pedido loadPedidoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pedido createPedido();
	public boolean save(com.belencarrasco.orm.Pedido pedido) throws PersistentException;
	public boolean delete(com.belencarrasco.orm.Pedido pedido) throws PersistentException;
	public boolean refresh(com.belencarrasco.orm.Pedido pedido) throws PersistentException;
	public boolean evict(com.belencarrasco.orm.Pedido pedido) throws PersistentException;
	public Pedido loadPedidoByCriteria(PedidoCriteria pedidoCriteria);
	public Pedido[] listPedidoByCriteria(PedidoCriteria pedidoCriteria);
}
